<div class="core_event_when">		
	<%= @core.date_end > @core.date ? 
		"from <span class='core_event_date'>#{I18n.l(@core.date, :format => :with_day_name)}</span>" + 
		" to <span class='core_event_date'>#{I18n.l(@core.date_end, :format => :with_day_name)}</span>" : 
		"<span class='core_event_date'>#{I18n.l(@core.date, :format => :super_long)}</span>" %>
	<% unless @core.days_of_week.blank? %>
		<br />every <% days = ""; @core.days_of_week.split(",").each {|i| days +=  I18n.t('date.day_names')[i.to_i].downcase  + ", " if (i!="") } %>
		<%= days[0,days.length - 2] %><br />
	<% end %>
</div>
<a href="/<%= @core.place.alias %>">
<div class="core_event_place link_gray_ani">
	<div class="core_event_place_left">
		<p class="core_event_place_name"><%= @core.place.name %></p>
		<p class="core_event_place_location"><%= @core.place.location.full_address %></p>
		<% unless @core.place.address.blank? %>	
		<p class="core_event_place_address"><%= @core.place.address %></p>
		<% end %>
	</div>
	<div class="core_event_place_right">
			<% if @core.free_entry %>
			<span class="mini_button_form_clicked" style="color:#51ff04">
				<%= Event.human_attribute_name("free_entry").downcase -%>
			</span><br />
			<% end %>
			<% if @core.with_pass %>
			<span class="mini_button_form_clicked" style="color:#ffff04">
				<%= Event.human_attribute_name("with_pass").downcase -%>
			</span><br />
			<% end %>			
			<% if @core.with_drink %>
			<span class="mini_button_form_clicked" style="color:#ffff04">
				<%= Event.human_attribute_name("with_drink").downcase -%>
			</span>
			<% end %><br />
	</div>
	<div class="separator"><span></span></div>
</div>
</a>
<div>
<%= "<div class=\"core_details_div\" style='margin-bottom:10px;'><span>personaggi</span></div>"  if @core.humans.size > 0 %>	
<% for i in @core.humans %>
<a href="/<%= i.alias %>">	
	<div class="core_event_human_div">
		<%= image_tag i.get_avatar(:thumb_mini), :class => "left" %>
		<%= i.name %>
	</div>
</a>
<% end %>
</div>
<% unless @core.description.blank? %>
	<div id="core_description_div"><%= @core.description %></div>
<% end %>

<% unless @core.prices.blank? %>
	<div class="core_details_div">
		<span>costi</span>
		<p><%= @core.prices %></p>
	</div>	
<% end %>
